<template>
  <div class="main-contain">
    <div class="main">
      <div class="create main-public">
        <div class="create-pic pic-public"></div>
        <h2 class="text-public">创建空白问卷</h2>
        <h3 class="direction">从一份空白问卷开始创建</h3>
        <router-link class="nav" to="/">开始</router-link>
      </div>
      <div class="select main-public">
        <div class="select-pic pic-public"></div>
        <h2 class="text-public">选择问卷模板</h2>
        <h3 class="direction">使用腾讯问卷提供的专业模板</h3>
        <router-link class="nav" to="/">开始</router-link>
      </div>
      <div class="edit main-public">
        <div class="edit-pic pic-public"></div>
        <h2 class="text-public">文本编辑问卷</h2>
        <h3 class="direction">自由编辑文本自动生成问卷</h3>
        <router-link class="nav" to="/">开始</router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.main-contain {
  min-width: 980px;
  height: 510px;
}
.main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}
.main-public {
  flex-grow: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-items: center;
}
.create {
  background-color: rgba(46, 140, 219, 0.95);
}
.select {
  background-color: rgba(71, 157, 230, 0.94);
}
.edit {
  background-color: rgba(144, 214, 126, 0.94);
}
.pic-public {
  width: 237px;
  height: 157px;
  margin: 150px auto 0;
  background-repeat: no-repeat;
  background-image: url(https://cdn.ur.qq.com/image/pc/sprites_bg.png?v=1.9.80);
}
.create-pic {
  background-position: -230px 5px;
  transform: scale(0.72);
  position: relative;
  left:30px;
}
.select-pic{
background-position: 4px 0px;
transform: scale(0.72);
}
.edit-pic{
  transform: scale(0.72);
  background-position: 20px -160px;
}
.text-public{
color: #fff;
margin: 10 0 0 0;
font-size: 24px;
font-weight: normal;
}
.direction{
color: #fff;
margin: 0 0 38px 0;
font-size: 18px;
font-weight: normal;
}
.nav{
  color: white;
  border: 1px solid white;
  border-radius: 2px;
  padding: 10px 40px;
  font-size: 15px;
}
</style>
